﻿ 
<%@ Page Language="C#" AutoEventWireup="true" Inherits="BillReport" EnableEventValidation="false" Codebehind="BillReport.aspx.cs" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>打印</title> 
		<meta content="VBScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> 
	</HEAD>
	<body ms_positioning="GridLayout">
		<form id="ActiveXExport" method="post" runat="server">
			<INPUT id="hdReportModule" style="Z-INDEX: 101; LEFT: 112px; POSITION: absolute; TOP: 24px"
				type="hidden" name="Hidden1" runat="server">
				<INPUT id="hdReportName" style="Z-INDEX: 102; LEFT: 296px; WIDTH: 104px; POSITION: absolute; TOP: 24px; HEIGHT: 24px"
				type="hidden" size="12" name="Hidden1" runat="server"> 
				<INPUT id="hdBillDJBH" style="Z-INDEX: 103; LEFT: 472px; POSITION: absolute; TOP: 16px"
				type="hidden" name="Hidden1" runat="server">
				<INPUT id="hdPrintType" style="Z-INDEX: 101; LEFT: 128px; POSITION: absolute; TOP: 80px"
				type="hidden" name="Hidden1" runat="server">
				<INPUT id="hdJeControl" style="Z-INDEX: 101; LEFT: 312px; POSITION: absolute; TOP: 72px"
				type="hidden" name="Hidden1" runat="server">
				<INPUT id="hdPrinter" style="Z-INDEX: 101; LEFT: 312px; POSITION: absolute; TOP: 72px"
				type="hidden" name="Hidden1" runat="server">
		</form>
		<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
			<tr>
				<td align="right" valign="middle" height="30"><input type="button" value="退出" onclick="window.close();">
				</td>
			</tr>
			<tr>
				<td>
					<div id="pagebody" style="WIDTH:100%;HEIGHT:100%">
						<OBJECT id="arv" codeBase="arview2.cab#version=2.4.1.1283" height="100%" width="100%" classid="clsid:8569D715-FF88-44BA-8D1D-AD3E59543DDE"
							name="arv" viewastext>
							<PARAM NAME="_ExtentX" VALUE="21352">
							<PARAM NAME="_ExtentY" VALUE="13573">
						</OBJECT>
					</div>
				</td>
			</tr>
		</table>
		<script language="vbscript">
			<!--
			    sub arv_ControlLoaded()
				    arv.DataPath = "BillReport.aspx?ReturnReport=1&ReportModule="+document.all("hdReportModule").value+"&ReportName="+document.all("hdReportName").value+"&DJBH="+document.all("hdBillDJBH").value+"&PrintType="+document.all("hdPrintType").value+"&JECONTROL="+document.all("hdJeControl").value+"&PRINTER="+document.all("hdPrinter").value
			    end sub	
    			
			    Sub arv_LoadCompleted()
				    if document.all("hdPrintType").value="1" then							
					    arv.PrintReport false
					    close
				    end if
			    end sub  
			--> 
        </script>
	</body>
</HTML>
